<template>
  <div>
    
    <v-list :teacher="teacher" :type="'Web'"></v-list>
  </div>
</template>

<script>

// 引入list组件
import vList from './list.vue'

export default {
  components:{
    vList
  },
  data() {
    return {
      teacher: [
        {
          id: 1,
          username: "李老师",
          img: "http://www.ujiuye.com/uploadfile/2019/0109/20190109110959719.jpg",
        },
        {
          id: 2,
          username: "花老师",
          img: "http://www.ujiuye.com/uploadfile/2019/0109/20190109105319126.jpg",
        },
        {
          id: 3,
          username: "罗老师",
          img: "http://www.ujiuye.com/uploadfile/2019/0109/20190109105746814.jpg",
        },
      ],
    };
  },
};
</script>

<style>
</style>